package com.qf.day01;

import java.util.Scanner;

public class work {
    public static void main(String[] args ){
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入底");
        double di = scanner.nextDouble();
        System.out.println("请输入高");
        double gao = scanner.nextDouble();

        double area = (di*gao)/2;
        System.out.println("三角形的面积是"+area);

    }
}
